package org.hubwork.base.common;

public class TestMain {
	
	public static void main(String[] args) throws Exception{
		
		HubBusiness htb1 = HubApplicationContext.get(HubBusinessImplJDBC.class);
		try {
			htb1.runTX();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		HubBusiness htb2 = HubApplicationContext.get(HubBusinessImplMyBatis.class);
		try {
			htb2.runTX();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
